Imports DataLayer
Imports EntityLayer

Public Class CotizacionBL

    Public Shared Function ObtenerNuevoCodigo() As Integer
        Return CotizacionDA.ObtenerNuevoCodigo
    End Function

    Public Shared Function Insertar(ByVal OBE As CotizacionBE) As Boolean
        Return CotizacionDA.Insertar(OBE)
    End Function

    Public Shared Function Actualizar(ByVal OBE As CotizacionBE) As Boolean
        Return CotizacionDA.Actualizar(OBE)
    End Function

    Public Shared Function Eliminar(ByVal intIdSolicitud As Integer) As Boolean
        Return CotizacionDA.Eliminar(intIdSolicitud)
    End Function

    Public Shared Function ListarTodo() As DataSet
        Return CotizacionDA.ListarTodo
    End Function

    Public Shared Function ListarxCodigo(ByVal intIdSolicitud As Integer) As DataSet
        Return CotizacionDA.ListarxCodigo(intIdSolicitud)
    End Function

    Public Shared Function ListarTodoxEstado(ByVal chEstado As Char) As DataSet
        Return CotizacionDA.ListarTodoxEstado(chEstado)
    End Function
End Class
